<!--{template common/header_simple_start}-->
<link href="static/css/common.css?{VERHASH}" rel="stylesheet" media="all">
<script type="text/javascript" src="static/js/jquery.leftDrager.js?{VERHASH}"></script>

<style>
	html,
	body {
		overflow: hidden;
		background: #FBFBFB;
	}
	
	.bs-left-container {
		width: 120px;
		top: 0;
		height: 100%;
	}
	
	.bs-main-container {
		margin-left: 120px;
		overflow: auto;
	}
	
	@media (max-width: 768px) {
		.bs-left-container {
			display: none;
		}
		.bs-main-container {
			margin-left: 0;
		}
	}
</style>
<!--{template common/header_simple_end}-->

<div class="bs-container clearfix" style="padding:0">
	<div class="bs-left-container  clearfix">
		<ul class="nav nav-pills nav-stacked nav-pills-leftguide">
			<li>
				<a href="{BASESCRIPT}?mod=$mod&feedType=aboutme">{lang related_me}</a>
			</li>
			<li>
				<a href="{BASESCRIPT}?mod=$mod&feedType=fromme">{lang my_release}</a>
			</li>
			<li>
				<a href="{BASESCRIPT}?mod=$mod&feedType=atme">@{lang mine}<span class="newtips" id="new_tips_atme"></span></a>
			</li>
			<li>
				<a href="{BASESCRIPT}?mod=$mod&feedType=collect">{lang my_collection}</a>
			</li>
			<li>
				<a href="{BASESCRIPT}?mod=$mod&feedType=replyme">{lang reply_my}<span class="newtips" id="new_tips_replyme"></span></a>
			</li>
			<li>
				<a href="{BASESCRIPT}?mod=$mod&feedType=all">{lang all_dynamic}</a>
			</li>
			<li class="active">
				<a href="{BASESCRIPT}?mod=$mod&op=setting">@{lang set}</a>
			</li>
			<li>
				<a href="{BASESCRIPT}?mod=$mod&op=wxsetting">{lang weixin_set}</a>
			</li>
		</ul>
	</div>
	<div class="left-drager">
		<div class="left-drager-op">
			<div class="left-drager-sub"></div>
		</div>
	</div>
	<div class="bs-main-container  clearfix">
		<div class="main-content" style="height:auto;padding:5px 15px;min-width:350px">
			<form id="cpform" action="{BASESCRIPT}?mod=feed&op=setting" class="form-horizontal-left" method="post" name="cpform">
				<input type="hidden" value="{FORMHASH}" name="formhash">
				<input type="hidden" value="settingsubmit" name="true">
				<dl>
					<dt>{lang message_center_home_page}:</dt>
					<dd class="clearfix">
						<!--{loop $typearr $key $value}-->
						<label class="radio radio-inline" style="margin:0 15px"><input type="radio" name="settingnew[feed_feedType_default]" value="$key" <!--{if $setting[feed_feedType_default]==$key}-->checked="checked"<!--{/if}--> />$value</label>
						<!--{/if}-->
					</dd>
					<dd class="clearfix">

					</dd>
				</dl>
				<dl>
					<dt>{lang messages_public_authority}:</dt>
					<dd class="clearfix">

						<label class="radio radio-inline" style="margin:0 15px"><input type="radio" name="settingnew[feed_publish_public]" value="1" <!--{if $setting[feed_publish_public]>0}-->checked="checked"<!--{/if}--> />{lang only_system_administrator}</label>
						<label class="radio radio-inline" style="margin:0 15px"><input type="radio" name="settingnew[feed_publish_public]" value="0" <!--{if $setting[feed_publish_public]<1}-->checked="checked"<!--{/if}--> />{lang all_members}</label>
					</dd>
					<dd class="clearfix">

					</dd>
				</dl>

				<dl>
					<dt>@{lang department_range}:</dt>

					<!--{loop $usergroups $value}-->
					<dd class="clearfix">
						<dl>
							<dt>$value[grouptitle]</dt>
							<dd class="clearfix">
								<label class="radio-inline ml10"><input type="radio" name="settingnew[feed_at_range][{$value[groupid]}]" <!--{if $setting['feed_at_range'][{$value[groupid]}]==3}-->checked="checked"<!--{/if}--> value="3">{lang all_agencies}</label>
								<label class="radio radio-inline"><input type="radio"  name="settingnew[feed_at_range][{$value[groupid]}]" <!--{if $setting['feed_at_range'][{$value[groupid]}]==2}-->checked="checked"<!--{/if}--> value="2">{lang agency_department}</label>
								<label class="radio radio-inline"><input type="radio"  name="settingnew[feed_at_range][{$value[groupid]}]" <!--{if $setting['feed_at_range'][{$value[groupid]}]==1}-->checked="checked"<!--{/if}--> value="1">{lang department}</label>
								<label class="radio radio-inline"><input type="radio"  name="settingnew[feed_at_range][{$value[groupid]}]" <!--{if $setting['feed_at_range'][{$value[groupid]}]==0}-->checked="checked"<!--{/if}--> value="0">{lang no_section}</label>
							</dd>
						</dl>

					</dd>
					<!--{/loop}-->
				</dl>
				<dl>
					<dt>{lang tourists_visit}:</dt>
					<dd class="clearfix">

						<label class="radio-inline" style="margin:0 15px;"><input type="radio" name="settingnew[feed_guest_allow]" value="0" checked="checked" />{lang not_allow}</label>
						<label class="radio-inline" style="margin:0 15px;"><input type="radio" name="settingnew[feed_guest_allow]" value="1" <!--{if $setting[feed_guest_allow]}-->checked="checked"<!--{/if}--> />{lang allow_access}</label>

					</dd>
					<dd class="clearfix">
						<span class="help-inline">{lang tourists_visit_state}</span>
					</dd>
				</dl>
				<dl>
					<dd><input class="btn btn-primary" id="submit_editsubmit" name="settingsubmit" value="{lang save_changes}" type="submit"></dd>
				</dl>
			</form>
		</div>
	</div>
</div>
<script type="text/javascript">
	jQuery('.left-drager').leftDrager_layout();
</script>
<script src="static/bootstrap/js/bootstrap.min.js?{VERHASH}"></script>
<!--{template common/footer_simple}-->